package com.jzr.bedside.db1.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 多媒体
 * </p>
 *
 * @author henry
 * @since 2019-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TMedia对象", description="多媒体")
public class TMedia implements Serializable {
    private static final long serialVersionUID = 1L;
    public static final String TableName = "t_media";
    public static final String Id_ = "id";
    public static final String FunType_ = "fun_type";
    public static final String DeptCode_ = "dept_code";
    public static final String Title_ = "title";
    public static final String FileName_ = "file_name";
    public static final String Sort_ = "sort";
    public static final String Status_ = "status";
    public static final String UpdateBy_ = "update_by";
    public static final String UpdateTime_ = "update_time";


    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "功能分类")
    @TableField("fun_type")
    private Integer funType;

    @ApiModelProperty(value = "科室编号")
    @TableField("dept_code")
    private String deptCode;

    @ApiModelProperty(value = "标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "文件名")
    @TableField("file_name")
    private String fileName;

    @ApiModelProperty(value = "排序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty(value = "状态: 0=无效 1=正常")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "更新人")
    @TableField("update_by")
    private Integer updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;


}
